<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>分配任务</h2>
    </div>
    <form action="{:U()}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">姓名<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" value="{$data.uid|get_wlusername}" readOnly="true">
                <input type="hidden" class="text input-large" name="uid" value="{$data.uid}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">工号<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" value="{$data.uid|get_jobnumber}" readOnly="true">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">订单编号<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="orderid" value="{$data.orderid}" readOnly="true">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">分配任务 (选择要分配的人员)<span class="check-tips"></span></label>
            <div class="controls">
                <select name="tuid">
                    <volist name="data.userlist" id="list">
                        <option value="{$list.id}">{$list.username}</option>
                    </volist>
                </select>
            </div>
        </div>
        <div class="form-item">
            <button class="btn submit-btn " id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('LogisticsUser/sendtask')}');
    </script>
</block>
